var o = getApp();
Page({
  data: {},
  onLoad: function (o) {
    this.setData({ id: o.id || 0 }), this.initData();
  },
  initData: function () {
    var n = this;
    o.$api.goods.goodsQAList({ goods_id: this.data.id }).then(function (o) {
      console.log('goodsQAList', o), n.setData({ list: o.list });
    });
  },
  onReady: function () {},
  onShow: function () {},
  onHide: function () {},
  onUnload: function () {},
  onPullDownRefresh: function () {},
  onReachBottom: function () {},
  onShareAppMessage: function () {},
});
